COMPILER= g++ -g
NFLAGS= -o
FLAGS = -c
LIBS= /usr/include/boost
BOOST_FS= boost_program_options
SOURCES= Portable_Greymap.cpp cmdline_parser.cpp
OBJECTS= Portable_Greymap.o cmdline_parser.o 

default: $(OBJECTS)
	$(COMPILER) -o pgm_editor -l$(BOOST_FS) $(OBJECTS)

Portable_Greymap.o: Portable_Greymap.cpp greymap.h
	$(COMPILER) -c -L$(LIBS) -l$(BOOST_FS) $(SOURCES)

cmdline_parser.o: cmdline_parser.cpp cmdline_parser.h
	$(COMPILER) -c -L$(LIBS) -l$(BOOST_FS) cmdline_parser.cpp

clean:
	rm -f *.o 
